package org.lovebugs.dkm;

import android.app.Activity;
import android.webkit.WebView;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.view.*;
import android.widget.*;
public class ArticleActivity extends Activity {

  //-- The Activity's XML Layout file Tags  TAG BEGIN 
  private class Domain{
    private ArticleActivity mActivity;
    public ProgressBar  pbar;
    public org.lovebugs.web.Web  article_web;
    public LinearLayout  bottom;
    public TextView  konwledge;
    public TextView  sms;
    public TextView  search;
    public TextView  tools;
    
    public Domain(ArticleActivity a) {
      this.mActivity = a;
      init();
    }
    
    private void init() {
	 	  pbar = (ProgressBar)mActivity.findViewById(R.id_web.pbar);
	 	  article_web = (org.lovebugs.web.Web)mActivity.findViewById(R.id.article_web);
	 	  bottom = (LinearLayout)mActivity.findViewById(R.id_web.bottom);
	 	  konwledge = (TextView)mActivity.findViewById(R.id_web.konwledge);
	 	  sms = (TextView)mActivity.findViewById(R.id_web.sms);
	 	  search = (TextView)mActivity.findViewById(R.id_web.search);
	 	  tools = (TextView)mActivity.findViewById(R.id_web.tools);
	 	}
   }
   //-- TAGS END
   
    //-- MESSAGE BEGIN
    protected Handler mHander = new Handler(){
      public void handleMessage(Message msg) {
         //TODO: ADD YOUR HANDLE MESSAGE
         
      }
    };
    //-- MESSAGE END
   
    private Domain mDomain;
    
    public Domain getDomain() {
      return this.mDomain;
    }
		
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		this.mDomain = new Domain(this);
		//TODO: ADD YOUR CODE
		
	}
	
	@Override
	protected void onStart() {

		super.onStart();
	}

	@Override
	protected void onPause() {
		super.onPause();

	}

	@Override
	protected void onResume() {
		super.onResume();
	}

	@Override
	protected void onDestroy() {
		super.onDestroy();
	}
	
	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		super.onCreateOptionsMenu(menu);
		return true;
	}

	@Override
	public boolean onOptionsItemSelected(MenuItem item) {
		super.onOptionsItemSelected(item);
		return true;
	}

	@Override
	public void closeOptionsMenu() {
		super.closeOptionsMenu();
	}

	@Override
	public void finish() {
		super.finish();
	}
	
	public boolean onKeyDown(int keyCode, KeyEvent event) {
		return super.onKeyDown(keyCode, event);
	}
	
}